package com.wis.service;

import com.wis.entity.NoticeEntity;
import com.wis.util.CommonResult;
import org.apache.ibatis.annotations.Param;

public interface NoticeService {
    CommonResult showNotice(@Param("page") int page, @Param("limit") int limit);

    CommonResult showOneNotice(int id);

    CommonResult findBlurry(String name);

    CommonResult delNotice(int id);

    CommonResult updateNotice(NoticeEntity notice);

    CommonResult addNotice(NoticeEntity notice);
}
